﻿using UnityEngine;
using System.Collections;

public class Player : MonoBehaviour {

	public float health = 100;
	public float protection = 0;
	public void Hurt(float damage) {
		health -= damage * (1 - protection);
	}
}
